package com.platform.springcloud.service.impl;

import com.platform.springcloud.dao.ApplicationRepository;
import com.platform.springcloud.entity.Application;
import com.platform.springcloud.service.ApplicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ApplicationServiceImpl	implements ApplicationService {

	@Autowired
	private ApplicationRepository applicationRepository;

	@Override
	public Application getById(Long id) {
		return applicationRepository.selectById(id);
	}
}